/* 艺术家页面样式 */

/* 艺术家头部区域 */
.artist-header {
    position: relative;
    height: 340px;
    margin-bottom: 24px;
    overflow: hidden;
}

.artist-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.artist-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    color: white;
}

.artist-tag {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.artist-name {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.artist-stats {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.monthly-listeners {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stats-number {
    font-weight: 600;
}

/* 艺术家页面内容 */
.artist-container {
    padding: 0 30px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 艺术家操作按钮 */
.artist-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.large-play-btn {
    width: 56px;
    height: 56px;
    background-color: #1DB954;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.large-play-btn i {
    font-size: 26px;
    margin-left: 4px;
}

.large-play-btn:hover {
    transform: scale(1.05);
    background-color: #1ed760;
}

.follow-btn {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.follow-btn i {
    font-size: 16px;
}

.follow-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.follow-btn.following {
    background-color: #1DB954;
    border-color: #1DB954;
}

.more-actions {
    margin-left: auto;
}

.more-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.more-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 页面区块通用样式 */
section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.view-all {
    color: #b3b3b3;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #fff;
    text-decoration: underline;
}

/* 热门歌曲区域样式 */
.popular-tracks {
    background-color: rgba(24, 24, 24, 0.7);
    border-radius: 10px;
    padding: 20px;
}

.popular-tracks .track-list {
    width: 100%;
    border-collapse: collapse;
}

.popular-tracks .track-list th {
    text-align: left;
    padding: 10px 8px;
    border-bottom: 1px solid #333;
    color: #b3b3b3;
    font-size: 14px;
    font-weight: 500;
}

.popular-tracks .track-list tbody tr {
    border-radius: 4px;
}

.popular-tracks .track-list td {
    padding: 10px 8px;
}

.popular-tracks .track-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.track-item {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.track-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.track-img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.track-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-name-artist {
    display: flex;
    flex-direction: column;
}

.track-name {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 4px;
}

.track-album {
    font-size: 12px;
    color: #b3b3b3;
}

.track-plays {
    color: #b3b3b3;
    text-align: right;
    font-size: 14px;
}

.track-duration {
    color: #b3b3b3;
    text-align: right;
    font-size: 14px;
}

.track-number {
    width: 40px;
    text-align: center;
    color: #b3b3b3;
    font-size: 14px;
}

/* 艺术家简介区域 */
.artist-bio {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.bio-image {
    flex: 0 0 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-content {
    flex: 1;
}

.bio-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #ddd;
}

.bio-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.bio-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bio-stats .stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.bio-stats .stat-label {
    font-size: 14px;
    color: #b3b3b3;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .artist-name {
        font-size: 48px;
    }
    
    .artist-bio {
        flex-direction: column;
    }
    
    .bio-image {
        flex: 0 0 auto;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 768px) {
    .artist-header {
        height: 260px;
    }
    
    .artist-name {
        font-size: 36px;
    }
    
    .artist-actions {
        flex-wrap: wrap;
    }
    
    .more-actions {
        margin-left: 0;
    }
    
    .track-plays {
        display: none;
    }
}

@media (max-width: 576px) {
    .artist-header {
        height: 200px;
    }
    
    .artist-name {
        font-size: 28px;
    }
    
    .artist-info {
        left: 20px;
        bottom: 20px;
    }
    
    .large-play-btn {
        width: 48px;
        height: 48px;
    }
    
    .large-play-btn i {
        font-size: 20px;
    }
    
    .bio-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* 专辑网格样式 */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.album-card {
    background-color: #181818;
    border-radius: 8px;
    padding: 16px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.album-card:hover {
    background-color: #282828;
}

.album-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.album-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-card p {
    font-size: 14px;
    color: #b3b3b3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.play-button {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1DB954;
    color: black;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.album-card:hover .play-button,
.album-img:hover .play-button {
    opacity: 1;
    transform: translateY(0);
}

.play-button:hover {
    transform: scale(1.05);
    background-color: #1ED760;
}

.play-button i {
    margin-left: 2px;
} 